use dioxus::prelude::*;

#[component]
pub fn Dashboard() -> Element {
    rsx! {
        div { class: "p-6",
            h1 { class: "text-2xl font-semibold text-gray-900 dark:text-white", "仪表盘" }
            div { class: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 mt-6",
                // 示例卡片
                div { class: "p-4 bg-white dark:bg-gray-800 rounded-lg shadow",
                    h3 { class: "text-lg font-medium", "统计数据" }
                    p { class: "mt-2 text-gray-600 dark:text-gray-400", "示例数据展示" }
                }
            }
        }
    }
}